﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SvgCore.Core
{
    public class SObject
    {
        public string Name;

        public IntProperty cx = new IntProperty();
        public IntProperty cy = new IntProperty();


        protected virtual void WriteXML(StringBuilder sb)
        {

        }


        public virtual string toXML()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append($"<{Name} ");

            sb.Append($"</{Name}>");
            return sb.ToString();
        }
         
    }
}
